import useResize from "../../hooks/useResize"
function Resize() {
    const size = useResize();
    return (
        <div>
        <p>宽度: {size.width}</p>
        <p>高度: {size.height}</p>
        </div>
    );
  }
  
  export default Resize;